package com.xhsj.user.pms.patent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xhsj.user.pms.patent.domain.PatentInspection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PatentInspectionMapper extends BaseMapper<PatentInspection> {
    IPage<PatentInspection> findList(IPage page);

//    根据周期得到审核线
    List<Map<String, Object>> getInspectionByCycle(@Param("type") int type, @Param("inspectionType") int inspectionType);
}